package com.infoland.afanmall.model.shopCart.entity;

import java.util.List;

/**
 * 使用购物车获取库存时
 * 使用的实体
 */
public class CartGoodEntity {

    /**
     * g_end_time : 2018-12-31 23:55:00
     * g_sort : 3
     * g_ft_id : null
     * modify_time : 2018-03-27 15:47:48
     * isFavor : false
     * g_cate_id : 1
     * g_status_v : 正常
     * g_rate : 1.0
     * g_labels : null
     * detailGoodsImgs : [{"foreign_id":121,"create_time":"2018-02-08 00:00:00","f_file_prefix":"jpg","group_name":"group1","remote_name":"M00/00/0E/rBG7OFp8AzSAE0rjAAAg3dL7ZsA936.jpg","id":720,"f_url":"http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8AzSAE0rjAAAg3dL7ZsA936.jpg","f_type":3,"f_order":1,"f_file_name":"阿凡优选小米主图.jpg","f_status":1,"f_cate":3}]
     * adverGoodsImgs : [{"foreign_id":121,"create_time":"2018-03-27 00:00:00","f_file_prefix":"jpg","group_name":"group1","remote_name":"M00/00/13/rBG7OFq59ySAP5_0AAAdgWo8mwM598.jpg","id":862,"f_url":"http://file.dwys.aft100.com/group1/M00/00/13/rBG7OFq59ySAP5_0AAAdgWo8mwM598.jpg","f_type":1,"f_order":1,"f_file_name":"阿凡优选小米主图.jpg","f_status":1,"f_cate":3}]
     * g_type_v : 普通
     * g_name : 永生村小米1kg
     * g_indate : 2018-12-31 23:55:00
     * store_name : 吉林省阿凡提科技有限公司
     * id : 121
     * g_status : 1
     * f_url : http://file.dwys.aft100.com/group1/M00/00/13/rBG7OFq59ySAP5_0AAAdgWo8mwM598.jpg
     * goodsImgs : [{"foreign_id":121,"create_time":"2018-02-08 00:00:00","f_file_prefix":"jpg","group_name":"group1","remote_name":"M00/00/0E/rBG7OFp8FKWATY2zAAFQFE73_cw838.jpg","id":728,"f_url":"http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8FKWATY2zAAFQFE73_cw838.jpg","f_type":2,"f_order":1,"f_file_name":"小米750.jpg","f_status":1,"f_cate":3}]
     * store_id : 24
     * gprice : 25.0
     * business_name : 吉林省阿凡提科技有限公司
     * create_time : 2018-02-08 15:58:45
     * g_type : 1
     * g_price : 25
     * g_introduction : 自然醇香健康美味
     * g_content : <p><img alt="" src="http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8CqSABQiHABQors3gnRY993.png" /><img alt="" src="http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8CquASmBQAAznJvtZCiM686.jpg" /><img alt="" src="http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8CrOAEVq3AA-ozv617TU598.png" /><img alt="" src="http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8CrqAcKJuAA1Yg0VhVdA745.png" /><img alt="" src="http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8CsWAVy5NAAozLWXchfM366.jpg" /></p>
     * <p>
     * g_origin_price : 25
     * g_browse_count : 0
     * g_start_time : 2018-02-08 15:59:00
     * isTrue : true
     * g_sales : 425
     * g_stock : 575
     * goodsPrice : {"goods_origin_price":25,"flag":1,"goods_price":25,"goods_id":121,"id":440,"goods_count":575,"spec_name":"黄小米","goods_rate":1,"spec":"487"}
     * g_favs : 0
     * business_id : 6
     */

    private String g_end_time;
    private int g_sort;
    private Object g_ft_id;
    private String modify_time;
    private boolean isFavor;
    private int g_cate_id;
    private String g_status_v;
    private double g_rate;
    private Object g_labels;
    private String g_type_v;
    private String g_name;
    private String g_indate;
    private String store_name;
    private int id;
    private int g_status;
    private String f_url;
    private int store_id;
    private double gprice;
    private String business_name;
    private String create_time;
    private int g_type;
    private String g_price;
    private String g_introduction;
    private String g_content;
    private String g_origin_price;
    private int g_browse_count;
    private String g_start_time;
    private boolean isTrue;
    private int g_sales;
    private int g_stock;
    private GoodsPriceBean goodsPrice;
    private int g_favs;
    private int business_id;
    private List<DetailGoodsImgsBean> detailGoodsImgs;
    private List<AdverGoodsImgsBean> adverGoodsImgs;
    private List<GoodsImgsBean> goodsImgs;

    public String getG_end_time() {
        return g_end_time;
    }

    public void setG_end_time(String g_end_time) {
        this.g_end_time = g_end_time;
    }

    public int getG_sort() {
        return g_sort;
    }

    public void setG_sort(int g_sort) {
        this.g_sort = g_sort;
    }

    public Object getG_ft_id() {
        return g_ft_id;
    }

    public void setG_ft_id(Object g_ft_id) {
        this.g_ft_id = g_ft_id;
    }

    public String getModify_time() {
        return modify_time;
    }

    public void setModify_time(String modify_time) {
        this.modify_time = modify_time;
    }

    public boolean isIsFavor() {
        return isFavor;
    }

    public void setIsFavor(boolean isFavor) {
        this.isFavor = isFavor;
    }

    public int getG_cate_id() {
        return g_cate_id;
    }

    public void setG_cate_id(int g_cate_id) {
        this.g_cate_id = g_cate_id;
    }

    public String getG_status_v() {
        return g_status_v;
    }

    public void setG_status_v(String g_status_v) {
        this.g_status_v = g_status_v;
    }

    public double getG_rate() {
        return g_rate;
    }

    public void setG_rate(double g_rate) {
        this.g_rate = g_rate;
    }

    public Object getG_labels() {
        return g_labels;
    }

    public void setG_labels(Object g_labels) {
        this.g_labels = g_labels;
    }

    public String getG_type_v() {
        return g_type_v;
    }

    public void setG_type_v(String g_type_v) {
        this.g_type_v = g_type_v;
    }

    public String getG_name() {
        return g_name;
    }

    public void setG_name(String g_name) {
        this.g_name = g_name;
    }

    public String getG_indate() {
        return g_indate;
    }

    public void setG_indate(String g_indate) {
        this.g_indate = g_indate;
    }

    public String getStore_name() {
        return store_name;
    }

    public void setStore_name(String store_name) {
        this.store_name = store_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getG_status() {
        return g_status;
    }

    public void setG_status(int g_status) {
        this.g_status = g_status;
    }

    public String getF_url() {
        return f_url;
    }

    public void setF_url(String f_url) {
        this.f_url = f_url;
    }

    public int getStore_id() {
        return store_id;
    }

    public void setStore_id(int store_id) {
        this.store_id = store_id;
    }

    public double getGprice() {
        return gprice;
    }

    public void setGprice(double gprice) {
        this.gprice = gprice;
    }

    public String getBusiness_name() {
        return business_name;
    }

    public void setBusiness_name(String business_name) {
        this.business_name = business_name;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public int getG_type() {
        return g_type;
    }

    public void setG_type(int g_type) {
        this.g_type = g_type;
    }

    public String getG_price() {
        return g_price;
    }

    public void setG_price(String g_price) {
        this.g_price = g_price;
    }

    public String getG_introduction() {
        return g_introduction;
    }

    public void setG_introduction(String g_introduction) {
        this.g_introduction = g_introduction;
    }

    public String getG_content() {
        return g_content;
    }

    public void setG_content(String g_content) {
        this.g_content = g_content;
    }

    public String getG_origin_price() {
        return g_origin_price;
    }

    public void setG_origin_price(String g_origin_price) {
        this.g_origin_price = g_origin_price;
    }

    public int getG_browse_count() {
        return g_browse_count;
    }

    public void setG_browse_count(int g_browse_count) {
        this.g_browse_count = g_browse_count;
    }

    public String getG_start_time() {
        return g_start_time;
    }

    public void setG_start_time(String g_start_time) {
        this.g_start_time = g_start_time;
    }

    public boolean isIsTrue() {
        return isTrue;
    }

    public void setIsTrue(boolean isTrue) {
        this.isTrue = isTrue;
    }

    public int getG_sales() {
        return g_sales;
    }

    public void setG_sales(int g_sales) {
        this.g_sales = g_sales;
    }

    public int getG_stock() {
        return g_stock;
    }

    public void setG_stock(int g_stock) {
        this.g_stock = g_stock;
    }

    public GoodsPriceBean getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(GoodsPriceBean goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public int getG_favs() {
        return g_favs;
    }

    public void setG_favs(int g_favs) {
        this.g_favs = g_favs;
    }

    public int getBusiness_id() {
        return business_id;
    }

    public void setBusiness_id(int business_id) {
        this.business_id = business_id;
    }

    public List<DetailGoodsImgsBean> getDetailGoodsImgs() {
        return detailGoodsImgs;
    }

    public void setDetailGoodsImgs(List<DetailGoodsImgsBean> detailGoodsImgs) {
        this.detailGoodsImgs = detailGoodsImgs;
    }

    public List<AdverGoodsImgsBean> getAdverGoodsImgs() {
        return adverGoodsImgs;
    }

    public void setAdverGoodsImgs(List<AdverGoodsImgsBean> adverGoodsImgs) {
        this.adverGoodsImgs = adverGoodsImgs;
    }

    public List<GoodsImgsBean> getGoodsImgs() {
        return goodsImgs;
    }

    public void setGoodsImgs(List<GoodsImgsBean> goodsImgs) {
        this.goodsImgs = goodsImgs;
    }

    public static class GoodsPriceBean {
        /**
         * goods_origin_price : 25.0
         * flag : 1
         * goods_price : 25.0
         * goods_id : 121
         * id : 440
         * goods_count : 575
         * spec_name : 黄小米
         * goods_rate : 1.0
         * spec : 487
         */

        private double goods_origin_price;
        private int flag;
        private double goods_price;
        private int goods_id;
        private int id;
        private int goods_count;
        private String spec_name;
        private double goods_rate;
        private String spec;

        public double getGoods_origin_price() {
            return goods_origin_price;
        }

        public void setGoods_origin_price(double goods_origin_price) {
            this.goods_origin_price = goods_origin_price;
        }

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public double getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(double goods_price) {
            this.goods_price = goods_price;
        }

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGoods_count() {
            return goods_count;
        }

        public void setGoods_count(int goods_count) {
            this.goods_count = goods_count;
        }

        public String getSpec_name() {
            return spec_name;
        }

        public void setSpec_name(String spec_name) {
            this.spec_name = spec_name;
        }

        public double getGoods_rate() {
            return goods_rate;
        }

        public void setGoods_rate(double goods_rate) {
            this.goods_rate = goods_rate;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }
    }

    public static class DetailGoodsImgsBean {
        /**
         * foreign_id : 121
         * create_time : 2018-02-08 00:00:00
         * f_file_prefix : jpg
         * group_name : group1
         * remote_name : M00/00/0E/rBG7OFp8AzSAE0rjAAAg3dL7ZsA936.jpg
         * id : 720
         * f_url : http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8AzSAE0rjAAAg3dL7ZsA936.jpg
         * f_type : 3
         * f_order : 1
         * f_file_name : 阿凡优选小米主图.jpg
         * f_status : 1
         * f_cate : 3
         */

        private int foreign_id;
        private String create_time;
        private String f_file_prefix;
        private String group_name;
        private String remote_name;
        private int id;
        private String f_url;
        private int f_type;
        private int f_order;
        private String f_file_name;
        private int f_status;
        private int f_cate;

        public int getForeign_id() {
            return foreign_id;
        }

        public void setForeign_id(int foreign_id) {
            this.foreign_id = foreign_id;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getF_file_prefix() {
            return f_file_prefix;
        }

        public void setF_file_prefix(String f_file_prefix) {
            this.f_file_prefix = f_file_prefix;
        }

        public String getGroup_name() {
            return group_name;
        }

        public void setGroup_name(String group_name) {
            this.group_name = group_name;
        }

        public String getRemote_name() {
            return remote_name;
        }

        public void setRemote_name(String remote_name) {
            this.remote_name = remote_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getF_url() {
            return f_url;
        }

        public void setF_url(String f_url) {
            this.f_url = f_url;
        }

        public int getF_type() {
            return f_type;
        }

        public void setF_type(int f_type) {
            this.f_type = f_type;
        }

        public int getF_order() {
            return f_order;
        }

        public void setF_order(int f_order) {
            this.f_order = f_order;
        }

        public String getF_file_name() {
            return f_file_name;
        }

        public void setF_file_name(String f_file_name) {
            this.f_file_name = f_file_name;
        }

        public int getF_status() {
            return f_status;
        }

        public void setF_status(int f_status) {
            this.f_status = f_status;
        }

        public int getF_cate() {
            return f_cate;
        }

        public void setF_cate(int f_cate) {
            this.f_cate = f_cate;
        }
    }

    public static class AdverGoodsImgsBean {
        /**
         * foreign_id : 121
         * create_time : 2018-03-27 00:00:00
         * f_file_prefix : jpg
         * group_name : group1
         * remote_name : M00/00/13/rBG7OFq59ySAP5_0AAAdgWo8mwM598.jpg
         * id : 862
         * f_url : http://file.dwys.aft100.com/group1/M00/00/13/rBG7OFq59ySAP5_0AAAdgWo8mwM598.jpg
         * f_type : 1
         * f_order : 1
         * f_file_name : 阿凡优选小米主图.jpg
         * f_status : 1
         * f_cate : 3
         */

        private int foreign_id;
        private String create_time;
        private String f_file_prefix;
        private String group_name;
        private String remote_name;
        private int id;
        private String f_url;
        private int f_type;
        private int f_order;
        private String f_file_name;
        private int f_status;
        private int f_cate;

        public int getForeign_id() {
            return foreign_id;
        }

        public void setForeign_id(int foreign_id) {
            this.foreign_id = foreign_id;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getF_file_prefix() {
            return f_file_prefix;
        }

        public void setF_file_prefix(String f_file_prefix) {
            this.f_file_prefix = f_file_prefix;
        }

        public String getGroup_name() {
            return group_name;
        }

        public void setGroup_name(String group_name) {
            this.group_name = group_name;
        }

        public String getRemote_name() {
            return remote_name;
        }

        public void setRemote_name(String remote_name) {
            this.remote_name = remote_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getF_url() {
            return f_url;
        }

        public void setF_url(String f_url) {
            this.f_url = f_url;
        }

        public int getF_type() {
            return f_type;
        }

        public void setF_type(int f_type) {
            this.f_type = f_type;
        }

        public int getF_order() {
            return f_order;
        }

        public void setF_order(int f_order) {
            this.f_order = f_order;
        }

        public String getF_file_name() {
            return f_file_name;
        }

        public void setF_file_name(String f_file_name) {
            this.f_file_name = f_file_name;
        }

        public int getF_status() {
            return f_status;
        }

        public void setF_status(int f_status) {
            this.f_status = f_status;
        }

        public int getF_cate() {
            return f_cate;
        }

        public void setF_cate(int f_cate) {
            this.f_cate = f_cate;
        }
    }

    public static class GoodsImgsBean {
        /**
         * foreign_id : 121
         * create_time : 2018-02-08 00:00:00
         * f_file_prefix : jpg
         * group_name : group1
         * remote_name : M00/00/0E/rBG7OFp8FKWATY2zAAFQFE73_cw838.jpg
         * id : 728
         * f_url : http://file.dwys.aft100.com/group1/M00/00/0E/rBG7OFp8FKWATY2zAAFQFE73_cw838.jpg
         * f_type : 2
         * f_order : 1
         * f_file_name : 小米750.jpg
         * f_status : 1
         * f_cate : 3
         */

        private int foreign_id;
        private String create_time;
        private String f_file_prefix;
        private String group_name;
        private String remote_name;
        private int id;
        private String f_url;
        private int f_type;
        private int f_order;
        private String f_file_name;
        private int f_status;
        private int f_cate;

        public int getForeign_id() {
            return foreign_id;
        }

        public void setForeign_id(int foreign_id) {
            this.foreign_id = foreign_id;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getF_file_prefix() {
            return f_file_prefix;
        }

        public void setF_file_prefix(String f_file_prefix) {
            this.f_file_prefix = f_file_prefix;
        }

        public String getGroup_name() {
            return group_name;
        }

        public void setGroup_name(String group_name) {
            this.group_name = group_name;
        }

        public String getRemote_name() {
            return remote_name;
        }

        public void setRemote_name(String remote_name) {
            this.remote_name = remote_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getF_url() {
            return f_url;
        }

        public void setF_url(String f_url) {
            this.f_url = f_url;
        }

        public int getF_type() {
            return f_type;
        }

        public void setF_type(int f_type) {
            this.f_type = f_type;
        }

        public int getF_order() {
            return f_order;
        }

        public void setF_order(int f_order) {
            this.f_order = f_order;
        }

        public String getF_file_name() {
            return f_file_name;
        }

        public void setF_file_name(String f_file_name) {
            this.f_file_name = f_file_name;
        }

        public int getF_status() {
            return f_status;
        }

        public void setF_status(int f_status) {
            this.f_status = f_status;
        }

        public int getF_cate() {
            return f_cate;
        }

        public void setF_cate(int f_cate) {
            this.f_cate = f_cate;
        }
    }
}
